[gd_scene load_steps=3 format=3 uid="uid://dn8c26yhx07di"]

[ext_resource type="Script" path="res://view_catalog/view_catalog.gd" id="1_slsv0"]
[ext_resource type="PackedScene" uid="uid://dm7enuprkc8la" path="res://catalog_data_label/catalog_data_label.tscn" id="2_dxmcb"]

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_slsv0")

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.309804, 0.309804, 0.309804, 1)

[node name="MarginContainer" type="MarginContainer" parent="ColorRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50

[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 50

[node name="HBoxContainer" type="HBoxContainer" parent="ColorRect/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 100

[node name="BackBtn" type="Button" parent="ColorRect/MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "НАЗАД"

[node name="EmptySpace2" type="Control" parent="ColorRect/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="CatalogDataLabel" parent="ColorRect/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource("2_dxmcb")]
layout_mode = 2
size_flags_horizontal = 3

[node name="EmptySpace" type="Control" parent="ColorRect/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3

[node name="SearchInput" type="LineEdit" parent="ColorRect/MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(180, 0)
layout_mode = 2
placeholder_text = "Введите децимальный номер для поиска"
max_length = 6
clear_button_enabled = true
caret_blink = true

[node name="ColorRect" type="ColorRect" parent="ColorRect/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 25.0
color = Color(0.372549, 0.372549, 0.372549, 1)

[node name="CategoriesLists" type="VBoxContainer" parent="ColorRect/MarginContainer/VBoxContainer/ColorRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect/MarginContainer/VBoxContainer"]
layout_mode = 2

[node name="Buttons" type="HBoxContainer" parent="ColorRect/MarginContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
alignment = 1

[node name="Space" type="Control" parent="ColorRect/MarginContainer/VBoxContainer/VBoxContainer/Buttons"]
layout_mode = 2
size_flags_horizontal = 3

[node name="AddCategory" type="Button" parent="ColorRect/MarginContainer/VBoxContainer/VBoxContainer/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "ДОБАВИТЬ КАТЕГОРИЮ"

[node name="ActionBtn" type="Button" parent="ColorRect/MarginContainer/VBoxContainer/VBoxContainer/Buttons"]
visible = false
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "ДОБАВИТЬ КАТЕГОРИЮ"

[node name="Space2" type="Control" parent="ColorRect/MarginContainer/VBoxContainer/VBoxContainer/Buttons"]
layout_mode = 2
size_flags_horizontal = 3
